﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UserCenter.Models
{
    public enum SmsType : byte
    {
        Auth = 1,
        Register = 2
    }
    public class SmsCodeLog
    {

        /// <summary>
        /// 
        /// </summary>
        public string SmsId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public SmsType Type { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Phone { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string DeviceId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string IpAddress { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public bool IsValidate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string OutSendId { get; set; }

    }

}
